package com.example.warehouse.service;

import com.example.warehouse.entity.ProductType;
import com.example.warehouse.entity.Result;

import java.util.List;

public interface ProductTypeService {
    List<ProductType> findTypeTree();


    Result queryTypeByCode(String typeCode);

    void addType(ProductType productType);

    void deleteTypeById(Integer ids);

    void updateType(ProductType productType);
}
